package com.fowo.api.inventory.model.monthly;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.format.NumberFormat;
import javax.validation.constraints.*;
import lombok.Data;

/** 库存月报表 -月度结转时计算 导入导出辅助模型 */
@Data
public class InventoryMonthlyExcelPo {

  @Size(max = 50, message = "会计月内码长度不能超过20")
  @ExcelProperty(value = "会计月内码")
  private Integer periodId;

  @ExcelProperty(value = "项目内码")
  private Integer projectId;

  @ExcelProperty(value = "物料内码")
  private Integer itemId;

  @Size(max = 50, message = "批号长度不能超过20")
  @ExcelProperty(value = "批号")
  private String batchNo;

  @ExcelProperty(value = "保质期(天)")
  private Integer shelfLife;

  @DateTimeFormat("yyyy年MM月dd日HH:mm:ss")
  @ExcelProperty(value = "生产日期")
  private java.util.Date productionDate;

  @DateTimeFormat("yyyy年MM月dd日HH:mm:ss")
  @ExcelProperty(value = "有效期至")
  private java.util.Date expiryDate;

  @NumberFormat("0.0000")
  @ExcelProperty(value = "期初数量")
  private java.math.BigDecimal beginQty;

  @ExcelProperty(value = "期初金额")
  private java.math.BigDecimal beginAmount;

  @NumberFormat("0.0000")
  @ExcelProperty(value = "入库数量")
  private java.math.BigDecimal stockInQty;

  @NumberFormat("0.0000")
  @ExcelProperty(value = "出库数量")
  private java.math.BigDecimal stockOutQty;

  @NumberFormat("0.0000")
  @ExcelProperty(value = "出库金额")
  private java.math.BigDecimal stockOutAmount;

  @NumberFormat("0.0000")
  @ExcelProperty(value = "库存数量")
  private java.math.BigDecimal stockQty;

  @NumberFormat("0.0000")
  @ExcelProperty(value = "库存金额")
  private java.math.BigDecimal stockAmount;

  @ExcelProperty(value = "辅助属性内码")
  private Integer auxId;

  @NumberFormat("0.0000")
  @ExcelProperty(value = "辅助数量")
  private java.math.BigDecimal auxQty;

  @NumberFormat("0.0000")
  @ExcelProperty(value = "锁库数量")
  private java.math.BigDecimal lockQty;

  @NumberFormat("0.0000")
  @ExcelProperty(value = "陈列数量")
  private java.math.BigDecimal displayQty;

  @NumberFormat("0.0000")
  @ExcelProperty(value = "残次数量")
  private java.math.BigDecimal defectQty;

  @NumberFormat("0.0000")
  @ExcelProperty(value = "在途数量")
  private java.math.BigDecimal wayQty;
}
